package com.hhsjdesign.dynamicui.core.widgetdata

import com.hhsjdesign.dynamicui.annoprocess.ADynamicUI
import com.hhsjdesign.dynamicui.annoprocess.AWidgetData
import com.hhsjdesign.dynamicui.core.property.widget.ListWidgetProperty
import com.hhsjdesign.dynamicui.core.property.widget.ISpecPropertyTransformer
import org.json.JSONObject

/**
 * listview组件数据
 * ListLayoutProperty
 */
@ADynamicUI
@AWidgetData(WidgetTypeConst.LIST)
open class ListWidgetData(jo: JSONObject) : WidgetData(jo),
    ISpecPropertyTransformer<ListWidgetProperty> {

    override fun transformWidgetSpecProperty(): ListWidgetProperty {
        return specProperty as ListWidgetProperty
    }

}